package com.xander.socketserver.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 叶振东
 * @date 2019-01-21
 */
@Controller
public class LoginController {
    @RequestMapping("login")
    public String loginPage() {
        return "login";
    }

    @RequestMapping("client")
    public String client() {
        return "client";
    }

    @RequestMapping("user/login")
    public String login(String username) {
        return "client";
    }

    @RequestMapping("shutup")
    public String shutup() {
        return "shutup";
    }
}
